* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    display: block;
    // 设置a标签字体样式继承
    color: inherit; 
    // 移动端a标签默认点击高亮,需要设置透明;
    -webkit-tap-highlight-color: transparent;
}
img{
    // 图片元素默认3px的间隙,把行内元素转为块级元素可以解决
    display: block;
    width: 100%;
}
input{
    border: none;
    outline: none;
}
ul {
    list-style: none;
}
// 清除浮动
.clearfix::after{
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
    line-height: 0;
}
.clearfix{ *zoom: 1; }
